package top.zhangjianyong.blog.params.role;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 角色菜单更新接口
 *
 * @author zhangjianyong
 * @since 2024/7/24 下午10:50
 */
public record RoleMenusUpdateParam(
    @NotNull(message = "角色ID不能为空") Long id, @NotEmpty(message = "菜单不能为空") List<Long> menus) {}
